package com.hf.buildtb.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * BiCooperator entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="BI_Cooperator"
    ,schema="dbo"
    ,catalog="BIDB"
)

public class BiCooperator  implements java.io.Serializable {


    // Fields    

 
	 
	/**
	 * 
	 */
	private static final long serialVersionUID = -2127310090640943303L;
	private String id;
     private String name;
     private Boolean isValid;
     private String memo;
     private String py;
     private String wb;


    // Constructors

    /** default constructor */
    public BiCooperator() {
    }

	/** minimal constructor */
    public BiCooperator(String id, String name, Boolean isValid) {
        this.id = id;
        this.name = name;
        this.isValid = isValid;
    }
    
    /** full constructor */
    public BiCooperator(String id, String name, Boolean isValid, String memo, String py, String wb) {
        this.id = id;
        this.name = name;
        this.isValid = isValid;
        this.memo = memo;
        this.py = py;
        this.wb = wb;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="id", unique=true, nullable=false, length=32)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="name", nullable=false, length=64)

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="isValid", nullable=false)

    public Boolean getIsValid() {
        return this.isValid;
    }
    
    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }
    
    @Column(name="memo", length=24)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
    
    @Column(name="py", length=23)

    public String getPy() {
        return this.py;
    }
    
    public void setPy(String py) {
        this.py = py;
    }
    
    @Column(name="wb", length=23)

    public String getWb() {
        return this.wb;
    }
    
    public void setWb(String wb) {
        this.wb = wb;
    }
   








}